package com.heima.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.common.Result;
import com.heima.common.ResultQuery;
import com.heima.pojo.entity.Region;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Update;

import java.awt.geom.Area;
import java.util.List;

public interface RegionMapper extends BaseMapper<Region> {
    /**
     * 搜索
     * @param query
     * @return
     */

    List<Region> searchQuery(ResultQuery query);



    /**
     * 删除
     * @param id
     */
    int deletesById(Long id);


}
